package other_其他模式.service_locator_pattern_服务定位模式;

/**
 * Created with IntelliJ IDEA.
 *
 * @Auther: hihi
 * @Date: 2020/07/10/14:12
 * @Description:
 */
public class Service2 implements Service {
	@Override public String getName() {
		return getClass().getSimpleName();
	}

	@Override public void execute() {
		System.err.println("Service2 executing");
	}
}
